package com.team.sion.pojo;

import java.util.Date;
import java.util.List;

public class Comment {
    private Integer id;

    private Integer userId;

    private Integer songId;

    private Integer songlistId;

    private String content;

    private Date createtime;

    private String type;

    private Integer up;

    private Integer fatherId;

    private Integer toUserId;

    private List<Comment> secondComment;
    //用户信息
    private Consumer consumer;
    //回复人的信息
    private Consumer toConsumer;

    private Boolean ifReply = false;

    public Boolean getIfReply() {
        return ifReply;
    }

    public void setIfReply(Boolean ifReply) {
        this.ifReply = ifReply;
    }

    public List<Comment> getSecondComment() {
        return secondComment;
    }

    public void setSecondComment(List<Comment> secondComment) {
        this.secondComment = secondComment;
    }

    public Consumer getConsumer() {
        return consumer;
    }

    public void setConsumer(Consumer consumer) {
        this.consumer = consumer;
    }

    public Consumer getToConsumer() {
        return toConsumer;
    }

    public void setToConsumer(Consumer toConsumer) {
        this.toConsumer = toConsumer;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getSongId() {
        return songId;
    }

    public void setSongId(Integer songId) {
        this.songId = songId;
    }

    public Integer getSonglistId() {
        return songlistId;
    }

    public void setSonglistId(Integer songlistId) {
        this.songlistId = songlistId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Integer getUp() {
        return up;
    }

    public void setUp(Integer up) {
        this.up = up;
    }

    public Integer getFatherId() {
        return fatherId;
    }

    public void setFatherId(Integer fatherId) {
        this.fatherId = fatherId;
    }

    public Integer getToUserId() {
        return toUserId;
    }

    public void setToUserId(Integer toUserId) {
        this.toUserId = toUserId;
    }
}